package com.hwadee.springboot_lx.Repository;

import com.hwadee.springboot_lx.entity.Student;
import org.springframework.data.jpa.repository.JpaRepository;

public interface StudentRepository extends JpaRepository<Student, Integer> {
    Student findById(Long id);
    Student findByAccount(String account);
}
